#ifndef PLAYER_H
#define PLAYER_H

#include "Character.hh"

class Player : public Character {
private:
    unsigned maxHealth;

public:
    Player(const std::string& name);

    unsigned getMaxHealth() const;
    void addToInventory(Item* item) override;
    std::string toString() const override;
    bool takeDamage(unsigned damage) override; // The declaration is consistent with the base class
};

#endif // PLAYER_H
